package com.autumn.xa.a.demo.data;

/**
 * ClassName: DATA
 *
 * @Description:
 * @Author: wangqiuyang
 * @Date: 2022/4/22 3:05 下午
 * History:
 * <author>          <time>          <version>          <desc>
 * wangqiuyang    2022/4/22 3:05 下午   @Version 1.0        描述
 */
public class DATA {
    private String name;
    private String code;

    public DATA(String code, String name) {
        this.name = name;
        this.code = code;
    }

    /**
     * getter method
     *
     * @return java.lang.String
     */
    public String getName() {
        return name;
    }

    /**
     * set method
     *
     * @param name java.lang.String
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * getter method
     *
     * @return java.lang.String
     */
    public String getCode() {
        return code;
    }

    /**
     * set method
     *
     * @param code java.lang.String
     */
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "DATA{" +
                "name='" + name + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
